// 封装本地存储
export function setStorageToken(payload) {
  localStorage.setItem('hm-news-token', JSON.stringify(payload))
}
export function getStorageToken() {
  return JSON.parse(localStorage.getItem('hm-news-token')) || {}
}
// 退出登录处理
export function removeStorageToken() {
  localStorage.removeItem('hm-news-token')
}
